<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <script language="javascript" type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js" }=""></script>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <form class="form-horizontal" th:object="${footRank}" method="post" th:action="@{/foot/footRank/edit}"
                  name="form" th:if="${session.footUser.qx.text == '管理员'}">
                <input type="hidden" name="id" th:field="*{id}"/>
                <input type="hidden" name="sj" th:field="*{sj}"/>
                <h3 class="header smaller lighter blue"><em class="icon-edit"></em>修改俱乐部</h3>
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="name">俱乐部名称:<span style="color:red">*</span></label>
                            <div class="controls">
                                <select th:field="*{name}" name="name" id="name" class="input_fix">
                                    <option th:each="t:${qdList}" th:text="${t.qdmc}" th:value="${t.id}">123</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('name')}"
                              th:errors="*{name}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="bscc">比赛场次:</label>
                            <div class="controls">
                                <input th:field="*{bscc}" type="text" name="bscc" id="bscc" class="input_fix"
                                       placeholder="比赛场次"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('bscc')}"
                              th:errors="*{bscc}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="s">胜:</label>
                            <div class="controls">
                                <input th:field="*{s}" type="text" name="s" id="s" class="input_fix" placeholder="胜"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('s')}" th:errors="*{s}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="p">平:</label>
                            <div class="controls">
                                <input th:field="*{p}" type="text" name="p" id="p" class="input_fix" placeholder="平"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('p')}" th:errors="*{p}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="f">负:</label>
                            <div class="controls">
                                <input th:field="*{f}" type="text" name="f" id="f" class="input_fix" placeholder="负"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('f')}" th:errors="*{f}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="sl">胜率:</label>
                            <div class="controls">
                                <input th:field="*{sl}" type="text" name="sl" id="sl" class="input_fix"
                                       placeholder="胜率"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('sl')}" th:errors="*{sl}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="jq">进球:</label>
                            <div class="controls">
                                <input th:field="*{jq}" type="text" name="jq" id="jq" class="input_fix"
                                       placeholder="进球"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('jq')}" th:errors="*{jq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="sq">失球:</label>
                            <div class="controls">
                                <input th:field="*{sq}" type="text" name="sq" id="sq" class="input_fix"
                                       placeholder="失球"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('sq')}" th:errors="*{sq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="jsq">净胜球:</label>
                            <div class="controls">
                                <input th:field="*{jsq}" type="text" name="jsq" id="jsq" class="input_fix"
                                       placeholder="净胜球"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('jsq')}" th:errors="*{jsq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="jf">积分:</label>
                            <div class="controls">
                                <input th:field="*{jf}" type="text" name="jf" id="jf" class="input_fix"
                                       placeholder="积分"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('jf')}" th:errors="*{jf}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="pm">排名:</label>
                            <div class="controls">
                                <input th:field="*{pm}" type="text" name="pm" id="pm" class="input_fix"
                                       placeholder="排名"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('pm')}" th:errors="*{pm}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="userId">所属玩家:</label>
                            <div class="controls">
                                <select th:field="*{userId}" name="userId" id="userId" class="input_fix">
                                    <option th:each="u:${userList}" th:value="${u.id}"
                                            th:text="${u.nike + '(' + (null == u.gameId ? '无ID' : u.gameIid) + ')'}">123
                                    </option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('userId')}"
                              th:errors="*{userId}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="text-center span12">
                        <button class="btn btn-primary" type="submit"><em class="icon-save"></em>提交</button>
                        <button class="btn btn-danger" type="reset"><em class="icon-remove"></em>取消</button>
                        <a class="btn" type="button" th:href="@{/foot/footRank/search}"><em
                                class="icon-arrow-left"></em>返回</a>
                    </div>
                </div>
            </form>
            <!--/#page-content-->
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div>
    <!--/#main-content-->
</div>
<!--/.fluid-container#main-container-->
<div th:replace="common/js"></div>
</body>
</html>